From: Jasper St. Pierre Date: Tue, 7 May 2013 06:51:02 +0000 (-0400) Subject: st-theme-node: Make sure that two NULL paint states are not equal X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4234 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=eb80503bcc5f10811542b7c5094fc10ddfc67b4e;p=gnome-shell.git st-theme-node: Make sure that two NULL paint states are not equal The comment clearly intended that for this to be the case, but a typo prevented this from actually being done. This fixes the focused state of the search field not working more than once. https://bugzilla.gnome.org/show_bug.cgi?id=699799 --- diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c index 51355a32a..e4eddcfb8 100644 --- a/src/st/st-theme-node.c +++ b/src/st/st-theme-node.c @@ -3821,7 +3821,7 @@ st_theme_node_paint_equal (StThemeNode *node, /* Make sure NULL != NULL */ if (node == NULL || other == NULL) - return TRUE; + return FALSE; if (node == other) return TRUE;